package cn.dglydrpy.fundmanagement.dao.entiey;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

@TableName("investment_diary")
@Data
public class InvestmentDiary {
    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField("fund_code")
    private String fundCode;

    @TableField("portfolio_id")
    private Long portfolioId;

    @TableField("title")
    private String title;

    @TableField("content")
    private String content;

    @TableField("category")
    private String category; // 1-投资决策 2-市场分析 3-经验总结 4-其他

    @TableField("created_time")
    private String createdTime;

    @TableField("updated_time")
    private String updatedTime;

    @TableField("status")
    private String status;
}